<?php get_header(); ?>

<div id="page">

	<div id="content">

		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

			<div class="postheader">
				<a class="postfeed" href="<?php bloginfo('rss2_url'); ?>">&#160;</a>
				<h2 class="posttitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
				<div class="postmeta">
					Posted under: <?php the_category(', ') ?>
				</div>
			</div>

			<div class="postcontent">
				<?php the_content('Read more on this Article!'); ?>
			</div>

			<div class="postfooter">
				<?php comments_popup_link('&#160;', '&#160;', '&#160;', 'postfootercomment'); ?>
			</div>

		<?php endwhile; else: ?>
		
			<p>Sorry, no posts matched your criteria.</p>

		<?php endif; ?>

			<div id="page-nav-prev"><?php posts_nav_link('', '&#171; Previous Page', '') ?></div>
			<div id="page-nav-next"><?php posts_nav_link('', '', 'Next Page &#187;') ?></div>
	
	</div>

	<?php include (TEMPLATEPATH . '/sidebar.php'); ?>

</div>

<?php get_footer(); ?>